package com.topisv.tms.entity.work;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Version;

import com.topisv.tms.entity.IdEntity;

/**
 * 作业任务_拣货项
 * @author ch
 *
 */
@Entity
@Table(name = "work_task_item")
public class WorkTaskItem extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private String batchCode;
	
	private String taskCode;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String stockCode;
	
	private String boxCode;
	
	private String orderno;
	
	private String sku;
	
	private Integer num;
	
	private Integer pickedNum;
	
	private String pickStatus; //拣货状态（picked:已拣 unpicked:未拣）
	
	private int rankno;//拣货序列号
	
	private String skuName;
	private String sellFlg;//1正常商品0赠品
	
	private String allocationDetail;//拣货框分配明细
	
	//add 20160621
	private int version;
	
	@Transient
	public String getAllocationDetail() {
		return allocationDetail;
	}

	public void setAllocationDetail(String allocationDetail) {
		this.allocationDetail = allocationDetail;
	}

	@Transient
	public String getSkuName() {
		return skuName;
	}

	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}
	@Transient
	public String getSellFlg() {
		return sellFlg;
	}

	public void setSellFlg(String sellFlg) {
		this.sellFlg = sellFlg;
	}

	public int getRankno() {
		return rankno;
	}

	public void setRankno(int rankno) {
		this.rankno = rankno;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getTaskCode() {
		return taskCode;
	}

	
	public Integer getPickedNum() {
		return pickedNum;
	}

	public void setPickedNum(Integer pickedNum) {
		this.pickedNum = pickedNum;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getBoxCode() {
		return boxCode;
	}

	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getPickStatus() {
		return pickStatus;
	}

	public void setPickStatus(String pickStatus) {
		this.pickStatus = pickStatus;
	}

	@Version
	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}
	
}